package com.ycl.consul.config;

import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TestConfig {

    @Bean("myKeyResolver")
    public KeyResolver keyResolver(){
        return new MyKeyResolver();
    }
}
